package com.citywithincity.utils;

import java.io.File;

/**
 * 上传信息
 * @author renxueliang
 *
 */
public class UploadFileInfo {
	/**
	 * 文件
	 */
	private File file;
	/**
	 * 相对路径
	 */
	private String uri;
	
	/**
	 * 绝对路径
	 */
	private String absolutePath;
	
	/**
	 * 
	 * @param file
	 * @param uri
	 * @param absolutePath
	 */
	public UploadFileInfo(File file,String uri,String absolutePath){
		this.file = file;
		this.uri = uri;
		this.absolutePath = absolutePath;
	}
	
	public String getRelativePath(){
		return uri;
	}
	
	public File getFile() {
		return file;
	}
	public String getUri() {
		return absolutePath;
	}
	
}
